/*******************************************************************/
/* @ All Rights Reserved Copyright (C) 2014 broada,Co.,Ltd.        */
/*                                                                 */
/*  NAME      = wtc_tcb_composfml.c                                */
/*  NOTE      =                                                    */
/*  DATE      = 2015/08/27 by songbb                               */
/*******************************************************************/

#include "conntrack.h"

#include "../wtc_core.h"
#include "../wtc_comm.h"
#include "wtc_tcb_composfml.h"
#include "../typed/wtc_typed_fml.h"

int wtc_tcb_composfml_tmpostrecv(Conntrack *p_st_conn
                                , Apm_packet *p_analyze_in
                                , L7session_wtc *p_st_sess
                                , L7_wtc_packet *p_st_wtc_packet
                                , int i_recv_size
                                , int i_hint_index)
{
    return wtc_tcb_composfml_tmpostrecv65(p_st_conn, p_analyze_in, p_st_sess, p_st_wtc_packet, i_recv_size, i_hint_index);
}

int wtc_tcb_composfml_tmpostrecv65(Conntrack *p_st_conn
                                , Apm_packet *p_analyze_in
                                , L7session_wtc *p_st_sess
                                , L7_wtc_packet *p_st_wtc_packet
                                , int i_recv_size
                                , int i_hint_index)
{

    return wtc_typed_fml_tmpostrecv(p_st_conn, p_st_sess, p_st_wtc_packet, i_recv_size, NULL);
}

//////////////////////// for analyze direction
int wtc_tcb_composfml_tmpostrecv_fad(char *p_payload
                                    , unsigned int ui_payload_len
                                    , unsigned int *p_ui_offset
                                    , int *p_i_direction
                                    , int i_recv_size
                                    , int i_hint_index)
{
    return wtc_tcb_composfml_tmpostrecv65_fad(p_payload, ui_payload_len, p_ui_offset, p_i_direction, i_recv_size, i_hint_index);
}

int wtc_tcb_composfml_tmpostrecv65_fad(char *p_payload
                                    , unsigned int ui_payload_len
                                    , unsigned int *p_ui_offset
                                    , int *p_i_direction
                                    , int i_recv_size
                                    , int i_hint_index)
{

    return wtc_typed_fml_tmpostrecv_fad(i_recv_size, p_payload, ui_payload_len, p_ui_offset);
}
